package java.main.java;

public class You {
    public void answer(Callback callback) {
        // 进行回调
        callback.callIphone();
    }

    public static void main(String[] args) throws InterruptedException {
        new Me().askQuestion();
        Thread.sleep(3000);

        new You().answer(new Callback() {
            @Override
            public void callIphone() {
                System.out.println("拨打电话回答等于2");
            }
        });
    }
}
